import { createApp } from 'vue';
import 'amfe-flexible';// 动态改变跟字体大小
// 1. 引入你需要的组件
import { Button, Image as VanImage, Uploader, Field, CellGroup, NavBar, Picker, Popup } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
import App from './App.vue'
// 引入路由
import router from './router/index'

// 创建应用实例
const app = createApp(App)

// 使用路由
app.use(router)
app.use(Button)
app.use(VanImage)
app.use(Uploader)
app.use(Field)
app.use(CellGroup)
app.use(NavBar)
app.use(Picker)
app.use(Popup)

// 挂载应用
app.mount('#app')
